/*
 * 系统路由
 */
export default [
  // 菜单管理
  {
    path: `system/menu`,
    component: () => import('jax-node/views/menu/index.vue'),
    meta: { api: '/system/menu' },
  },
  // 系统用户
  {
    path: `system/user`,
    component: () => import('jax-node/views/user/index.vue'),
    meta: { api: '/system/user' },
  },
  // 角色管理
  {
    path: `system/role`,
    component: () => import('jax-node/views/role/index.vue'),
  },
  // 配置管理
  {
    path: `system/config`,
    component: () => import('jax-node/views/config/index.vue'),
    meta: { api: '/system/config' },
  },
  // 系统设置
  {
    path: `system/setting`,
    component: () => import('jax-node/views/Setting.vue'),
    meta: { api: 'system/setting' },
  },
  // 字典
  {
    path: `system/dict`,
    component: () => import('jax-node/views/dict/index.vue'),
    meta: { api: 'system/dict' },
  },
  // 密码修改
  {
    path: `system/modify-password`,
    component: () => import('jax-node/views/ModifyPassword.vue'),
    meta: { api: 'system/modifyPassword' },
  },
]
